home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / zgttrs.z / zgttrs
Encoding:
Text File  |  2002-10-03  |  4.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ZZZZGGGGTTTTTTTTRRRRSSSS((((3333SSSS))))                                                          ZZZZGGGGTTTTTTTTRRRRSSSS((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ZGTTRS - solve one of the systems of equations A * X = B, A**T * X = B,
  10.      or A**H * X = B,
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE ZGTTRS( TRANS, N, NRHS, DL, D, DU, DU2, IPIV, B, LDB, INFO )
  14.  
  15.          CHARACTER      TRANS
  16.  
  17.          INTEGER        INFO, LDB, N, NRHS
  18.  
  19.          INTEGER        IPIV( * )
  20.  
  21.          COMPLEX*16     B( LDB, * ), D( * ), DL( * ), DU( * ), DU2( * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      ZGTTRS solves one of the systems of equations A * X = B, A**T * X = B, or
  38.      A**H * X = B, with a tridiagonal matrix A using the LU factorization
  39.      computed by ZGTTRF.
  40.  
  41.  
  42. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  43.      TRANS   (input) CHARACTER
  44.              Specifies the form of the system of equations.  = 'N':  A * X = B
  45.              (No transpose)
  46.              = 'T':  A**T * X = B  (Transpose)
  47.              = 'C':  A**H * X = B  (Conjugate transpose)
  48.  
  49.      N       (input) INTEGER
  50.              The order of the matrix A.
  51.  
  52.      NRHS    (input) INTEGER
  53.              The number of right hand sides, i.e., the number of columns of
  54.              the matrix B.  NRHS >= 0.
  55.  
  56.      DL      (input) COMPLEX*16 array, dimension (N-1)
  57.              The (n-1) multipliers that define the matrix L from the LU
  58.              factorization of A.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ZZZZGGGGTTTTTTTTRRRRSSSS((((3333SSSS))))                                                          ZZZZGGGGTTTTTTTTRRRRSSSS((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      D       (input) COMPLEX*16 array, dimension (N)
  75.              The n diagonal elements of the upper triangular matrix U from the
  76.              LU factorization of A.
  77.  
  78.      DU      (input) COMPLEX*16 array, dimension (N-1)
  79.              The (n-1) elements of the first super-diagonal of U.
  80.  
  81.      DU2     (input) COMPLEX*16 array, dimension (N-2)
  82.              The (n-2) elements of the second super-diagonal of U.
  83.  
  84.      IPIV    (input) INTEGER array, dimension (N)
  85.              The pivot indices; for 1 <= i <= n, row i of the matrix was
  86.              interchanged with row IPIV(i).  IPIV(i) will always be either i
  87.              or i+1; IPIV(i) = i indicates a row interchange was not required.
  88.  
  89.      B       (input/output) COMPLEX*16 array, dimension (LDB,NRHS)
  90.              On entry, the matrix of right hand side vectors B.  On exit, B is
  91.              overwritten by the solution vectors X.
  92.  
  93.      LDB     (input) INTEGER
  94.              The leading dimension of the array B.  LDB >= max(1,N).
  95.  
  96.      INFO    (output) INTEGER
  97.              = 0:  successful exit
  98.              < 0:  if INFO = -k, the k-th argument had an illegal value
  99.  
  100. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  101.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  102.  
  103.      This man page is available only online.
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.